home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7151 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP: UNIX's directory functions.
  5. Date: Sat, 17 Feb 96 23:15:21 GMT
  6. Organization: none
  7. Message-ID: <824598921snz@genesis.demon.co.uk>
  8. References: <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu>
  15.            dxp8108@hertz.njit.edu "Dharmesh Patel" writes:
  16.  
  17. >
  18. >Hi all!
  19. >
  20. >I need help with couple of things in C.  I need to know how the functions 
  21. >opendir, readdir, closedir, and rewinddir work.  I also need to know the 
  22. >elements of the struct dirent.
  23.  
  24. Unfortunately these are not defined in C. 
  25.  
  26. >The reason for this request is that I have to write a program that 
  27. >simulates the unix command 'pwd', the hard way.
  28.  
  29. They are Unix/POSIX defined functions and the place to ask about them
  30. is comp.unix.programmer.
  31.  
  32. -- 
  33. -----------------------------------------
  34. Lawrence Kirby | fred@genesis.demon.co.uk
  35. Wilts, England | 70734.126@compuserve.com
  36. -----------------------------------------
  37.